package com.weixing.mall.provider.model.enums;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * @Description 调拨单操作状态类型 <br/>
 * @author gjq
 * @date 2019/8/16 10:28
 */

@NoArgsConstructor
public enum OperationStatusEunm implements IBaseEnum<Integer> {
    //1 已申请 2 已审核  3 已确认 4 已拒绝 5 已取货 6 已入货
    TYPE_1(1,"已申请"),
    TYPE_2(2,"已审核"),
    TYPE_3(3,"已确认"),
    TYPE_4(4,"已拒绝"),
    TYPE_5(5,"已取货"),
    TYPE_6(6,"已入货")
    ;
    private int value;
    private String desp;

    OperationStatusEunm(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
